#pragma once

#define SCREEN_WIDTH  800
#define SCREEN_HEIGHT 450

const int KEYBOARD_BUFF_SIZE	= 256;

const char DELIMITER			= '#';
const int MESSAGE_BUFF_LEN		= 256;
const int MAX_CLIENTS			= 4;
const int DEFAULT_BUTTON_SIZE_X	= 256;
const int DEFAULT_BUTTON_SIZE_Y	= 128;
const int NUM_MENU_BUTTONS		= 3;

const float PLAYER_OFFSET = 25.0f;
const float ASTEROID_OFFSET = 10.0f;
const float BULLET_OFFSET = 5.0f;


#define BITS_PER_BYTE 8
#define BOOL_STORAGE unsigned long long
#define NUM_BOOL_STORAGE_VARS (KEYBOARD_BUFF_SIZE/sizeof(BOOL_STORAGE)/BITS_PER_BYTE)

#define DIK_UP              0xC8    /* UpArrow on arrow keypad */
#define DIK_LEFT            0xCB    /* LeftArrow on arrow keypad */
#define DIK_RIGHT           0xCD    /* RightArrow on arrow keypad */
#define DIK_DOWN            0xD0    /* DownArrow on arrow keypad */
#define DIK_SPACE           0x39    /*  SPACE BAR */

#define DIK_W               0x11
#define DIK_A               0x1E
#define DIK_S               0x1F
#define DIK_D               0x20
								
#define PI					3.14159265358979323846f
